package com.fsm.template.dto;

import com.mybatisflex.annotation.Column;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
public class Field {

    @Column(value = "field")
    @Schema(description = "字段原样")
    private String field;

    @Column(ignore = true)
    @Schema(description = "字段驼峰，首字母小写")
    private String fieldName;

    @Column(ignore = true)
    @Schema(description = "字段驼峰，首字母大写")
    private String tableName;

    @Column(ignore = true)
    @Schema(description = "字段原样，全大写")
    private String tableDefName;

    @Column(value = "null")
    private String Null;

    @Column(value = "extra")
    private String extra;

    @Column(value = "type")
    @Schema(description = "字段类型")
    private String type;

    @Column(value = "key")
    private String key;

    @Column(value = "comment")
    @Schema(description = "字段含义")
    private String comment;
}
